<div class="editor-wrapper" ng-model="$root.editorValue" ui-ace="{
  useWrapMode : true,
  mode: 'yaml',
  onLoad: aceLoaded,
  onChange: aceChanged}"></div>